package com.yanqu.road.server.timer.activity;

import com.yanqu.road.server.manger.activity.fivehero.FiveHeroMgr;
import com.yanqu.road.utils.executor.GeneralTask;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 */
public class FiveHeroTask extends GeneralTask {
    protected Logger logger = LogManager.getLogger(FiveHeroTask.class.getName());

    @Override
    public void doRun() {
        try {
            FiveHeroMgr.checkRegistrationList();
        }catch (Exception e) {
            logger.error(e.getMessage(), e);
        }
    }
}

